package com.sdp.flow.db.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sdp.core.bizc.vo.DataCenter;
import com.sdp.flow.db.entity.ActRuTask;
import com.sdp.flow.db.mapper.ActRuTaskMapper;
import com.sdp.flow.db.service.IActRuTaskService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author qcy
 * @since 2021-08-06
 */
@Service
public class ActRuTaskServiceImpl extends ServiceImpl<ActRuTaskMapper, ActRuTask> implements IActRuTaskService {

	@Autowired
	private ActRuTaskMapper actRuTaskMapper;
	

	@Override
	public <T>int viewCount(QueryWrapper<T> queryWrapper) {
		return actRuTaskMapper.viewCount(queryWrapper);
	}

	@Override
	public <T> List<T> viewList(QueryWrapper<T> queryWrapper, DataCenter dc) {
		return actRuTaskMapper.viewList(queryWrapper);
	}

	@Override
	public <T> IPage<T> viewPage(IPage<T> page, QueryWrapper<T> queryWrapper, DataCenter dc) {
		return actRuTaskMapper.viewPage(page, queryWrapper);
	}

}
